package com.action.mvc.auth.entity;

import com.action.mvc.auth.common.BaseEntity;

/**
 * Created by Wuxiang on 2017/4/23.
 */
public class RoleFunction extends BaseEntity{

    private Long roleId;
    private Long functionId;
    private int status;

    public RoleFunction() {

    }

    public RoleFunction(Long functionId) {
        this.functionId = functionId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Long functionId) {
        this.functionId = functionId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "RoleFunction{" +
                "id=" + getId() +
                ",roleId=" + roleId +
                ", functionId=" + functionId +
                ", status=" + status +
                '}';
    }
}
